package com.ruoyi.property.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.property.mapper.PayFeeAuditManageInfoMapper;
import com.ruoyi.property.domain.PayFeeAuditManageInfo;
import com.ruoyi.property.service.IPayFeeAuditManageInfoService;
import com.ruoyi.common.core.text.Convert;

/**
 * 缴费审核Service业务层处理
 * 
 * @author sux
 * @date 2021-06-30
 */
@Service
public class PayFeeAuditManageInfoServiceImpl implements IPayFeeAuditManageInfoService 
{
    @Autowired
    private PayFeeAuditManageInfoMapper payFeeAuditManageInfoMapper;

    /**
     * 查询缴费审核
     * 
     * @param auditId 缴费审核ID
     * @return 缴费审核
     */
    @Override
    public PayFeeAuditManageInfo selectPayFeeAuditManageInfoById(Long auditId)
    {
        return payFeeAuditManageInfoMapper.selectPayFeeAuditManageInfoById(auditId);
    }

    /**
     * 查询缴费审核列表
     * 
     * @param payFeeAuditManageInfo 缴费审核
     * @return 缴费审核
     */
    @Override
    public List<PayFeeAuditManageInfo> selectPayFeeAuditManageInfoList(PayFeeAuditManageInfo payFeeAuditManageInfo)
    {
        return payFeeAuditManageInfoMapper.selectPayFeeAuditManageInfoList(payFeeAuditManageInfo);
    }

    /**
     * 新增缴费审核
     * 
     * @param payFeeAuditManageInfo 缴费审核
     * @return 结果
     */
    @Override
    public int insertPayFeeAuditManageInfo(PayFeeAuditManageInfo payFeeAuditManageInfo)
    {
        return payFeeAuditManageInfoMapper.insertPayFeeAuditManageInfo(payFeeAuditManageInfo);
    }

    /**
     * 修改缴费审核
     * 
     * @param payFeeAuditManageInfo 缴费审核
     * @return 结果
     */
    @Override
    public int updatePayFeeAuditManageInfo(PayFeeAuditManageInfo payFeeAuditManageInfo)
    {
        return payFeeAuditManageInfoMapper.updatePayFeeAuditManageInfo(payFeeAuditManageInfo);
    }

    /**
     * 删除缴费审核对象
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    @Override
    public int deletePayFeeAuditManageInfoByIds(String ids)
    {
        return payFeeAuditManageInfoMapper.deletePayFeeAuditManageInfoByIds(Convert.toStrArray(ids));
    }

    /**
     * 删除缴费审核信息
     * 
     * @param auditId 缴费审核ID
     * @return 结果
     */
    @Override
    public int deletePayFeeAuditManageInfoById(Long auditId)
    {
        return payFeeAuditManageInfoMapper.deletePayFeeAuditManageInfoById(auditId);
    }
}
